package com.ypy.flexiplug.plugin.prometheus.parse;

import java.util.List;

public interface IPrometheusParser<T> {
    /**
     * @param body  response data of get request from prometheus server.
     * @param clz   Type of planning to parse to.
     * @return      list of object of type for clz.
     */
    List<T> parse(String body, Class<T> clz);

}
